home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_200 / 284_01 / bios.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-03-11  |  640 b   |  19 lines

  1. /* bios configuration ( must match with CP/M bios )            */
  2.  
  3. /* CP/M secter length                            */
  4. #define SECLEN        128        /* This constant is fixed    */
  5.  
  6. /* pseudo disk related constants                    */
  7. #define NDISKS        8        /* # of disk drives in a system */
  8.  
  9. /* phisical disk related constants                    */
  10. #define PHISDISK    1        /* 1 to support phisical disk    */
  11.  
  12. /* constants in Disk Parameter Block                    */
  13. #define DPB_SPT        26        /* sector / track of phis. disk */
  14. #define DPB_OFF        2        /* # of reserved track        */
  15.  
  16. /* disk types                                */
  17. #define EMPTY        (-1)        /* empty drive            */
  18. #define PHIS        (-2)        /* phisical disk drive        */
  19.